<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        
        //number 数字
        var a=10;
        console.log(typeof a);

        //string 字符串
        var b='xieyanzu'
        console.log(typeof b);

        //boolean 真假
        var c= true;
        console.log(typeof c);

        //undefined 未定义
        var d;
        console.log(typeof d);

        // object 对象
        var e=null;  // 数组  方法  等等
        console.log(typeof e);
    </script>
</body>
</html>